package service;

import entity.Commodity;

import java.util.List;

public interface CollectionService {
    int add(int userid,int commId);

    boolean findExist(int userId,int commId);

    List<Commodity> findByUserId(int userId,int startPage,int limit);

    int findCountByUserId(int userId);
}
